import time
# 绘图模式
import turtle

# 创建画笔
pen = turtle.Turtle()

# 设置绘制速度
pen.speed(0)

# 绘制一条直线
pen.forward(100)

# 左转x度
pen.left(50)
pen.forward(100)

# 绘制文字
# pen.write("你好")

pen.backward(100)
while True:
    time.sleep(1)
    times = time.strftime("%Y-%m-%d %H:%M",time.localtime())
    pen.clear()
    pen.write(times,font=("Arial",40,"normal"))
input()